package com.tripcube.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.tripcube.common.security.annotation.EnableRyFeignClients;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 认证授权中心
 * 
 * @author alander110
 */
@EnableRyFeignClients
@EnableFeignClients(basePackages = "com.tripcube")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class TripCubeAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(TripCubeAuthApplication.class, args);
        System.out.println("认证授权中心启动成功");
    }
}
